package com.example.kcp.output;

import com.example.kcp.enums.CommandCode;

/**
 * @author "陈凯航"
 * @date 2024/10/7
 * @mail "mengxingcn@aliyun.com"
 */
public class QueryAgvStatusBuilder extends BaseBuilder<QueryAgvStatusBuilder> {
    public QueryAgvStatusBuilder() {
        this.commandCode = CommandCode.QUERY_AGV_STATUS;
    }

    @Override
    protected byte[] buildData() {
        // 实现 buildData 方法
        return new byte[]{(byte) 0xAF}; // 示例数据
    }

    @Override
    protected short buildDataLength() {
        // 实现 buildDataLength 方法
        return (short) 1; // 示例长度
    }
}